home *** CD-ROM | disk | FTP | other *** search
/ 9-Digit Zip Code Directory / 9-Digit Zip Code Directory (American Business Information) (ABIZIP-12).ISO / z4src.zip / SHARE.H < prev    next >
C/C++ Source or Header  |  1993-11-23  |  751b  |  30 lines

  1. /***
  2. *share.h - defines file sharing modes for sopen
  3. *
  4. *   Copyright (c) 1985-1992, Microsoft Corporation.  All rights reserved.
  5. *
  6. *Purpose:
  7. *   This file defines the file sharing modes for sopen().
  8. *
  9. ****/
  10.  
  11. #ifndef _INC_SHARE
  12.  
  13. #define _SH_COMPAT  0x00    /* compatibility mode */
  14. #define _SH_DENYRW  0x10    /* deny read/write mode */
  15. #define _SH_DENYWR  0x20    /* deny write mode */
  16. #define _SH_DENYRD  0x30    /* deny read mode */
  17. #define _SH_DENYNO  0x40    /* deny none mode */
  18.  
  19. #ifndef __STDC__
  20. /* Non-ANSI names for compatibility */
  21. #define SH_COMPAT _SH_COMPAT
  22. #define SH_DENYRW _SH_DENYRW
  23. #define SH_DENYWR _SH_DENYWR
  24. #define SH_DENYRD _SH_DENYRD
  25. #define SH_DENYNO _SH_DENYNO
  26. #endif 
  27.  
  28. #define _INC_SHARE
  29. #endif 
  30.